<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<!-- Copyright 1997 The Open Group, All Rights Reserved -->
<title>&lt;regexp.h&gt;</title>
</head><body bgcolor=white>
<center>
<font size=2>
The Single UNIX &reg; Specification, Version 2<br>
Copyright &copy; 1997 The Open Group

</font></center><hr size=2 noshade>
<h4><a name = "tag_000_008_051">&nbsp;</a>NAME</h4><blockquote>
regexp.h - regular-expression declarations
(<b>LEGACY</b>)
</blockquote><h4><a name = "tag_000_008_052">&nbsp;</a>SYNOPSIS</h4><blockquote>
<pre><code>

#include &lt;regexp.h&gt;
</code>
</pre>
</blockquote><h4><a name = "tag_000_008_053">&nbsp;</a>DESCRIPTION</h4><blockquote>
In the
<i>&lt;regexp.h&gt;</i>
header, each of the following is declared as a function, or
defined as a macro, or both:
<pre>
<code>
int   <a href="advance.html">advance</a>(const char *<i>string</i>, const char *<i>expbuf</i>);
char *<a href="compile.html">compile</a>(char *<i>instring</i>, char *<i>expbuf</i>, const char *<i>endbuf</i>,
         int <i>eof</i>);
int   <a href="step.html">step</a>(const char *<i>string</i>, const char *<i>expbuf</i>);
</code>
</pre>
<p>
and the following are declared as external variables:
<pre>
<code>
extern char *loc1;
extern char *loc2;
extern char *locs;
</code>
</pre>
</blockquote><h4><a name = "tag_000_008_054">&nbsp;</a>APPLICATION USAGE</h4><blockquote>
This header is kept for historical reasons.
New applications should use the
<i><a href="regcomp.html">regcomp()</a></i>,
<i><a href="regexec.html">regexec()</a></i>,
<i><a href="regerror.html">regerror()</a></i>
and
<i><a href="regfree.html">regfree()</a></i>
functions, and the
<i><a href="regex.h.html">&lt;regex.h&gt;</a></i>
header, which provide full internationalised regular expression
functionality compatible with the ISO POSIX-2 standard and the <b>XBD</b> specification, <a href="../xbd/re.html"><b>Regular Expressions</b>&nbsp;</a>.
</blockquote><h4><a name = "tag_000_008_055">&nbsp;</a>FUTURE DIRECTIONS</h4><blockquote>
None.
</blockquote><h4><a name = "tag_000_008_056">&nbsp;</a>SEE ALSO</h4><blockquote>
<i><a href="regexp.html">regexp()</a></i>,
<i><a href="regex.h.html">&lt;regex.h&gt;</a></i>.
</blockquote><hr size=2 noshade>
<center><font size=2>
UNIX &reg; is a registered Trademark of The Open Group.<br>
Copyright &copy; 1997 The Open Group
<br> [ <a href="../index.html">Main Index</a> | <a href="../xshix.html">XSH</a> | <a href="../xcuix.html">XCU</a> | <a href="../xbdix.html">XBD</a> | <a href="../cursesix.html">XCURSES</a> | <a href="../xnsix.html">XNS</a> ]

</font></center><hr size=2 noshade>
</body></html>
